package com.qunar.wan.common_api.service;


import com.qunar.wan.common_api.model.SearchResult;

/**
 * User: cyoung
 * Date: 12/3/13
 * Time: 5:22 PM
 */
public interface SearchService {
    /**
     * 根据关键词以及页码返回搜索结果
     *
     * @param keywords
     * @param pageSize
     * @param pageNum
     * @return
     */
    SearchResult search(String keywords, int pageSize, int pageNum) throws Exception;
}
